#include "StdAfx.h"
#include "ShowSmallVideo.h"
#include "MultiMediaDlg.h"

IMPLEMENT_DYNAMIC(ShowSmallVideo,CWnd)

ShowSmallVideo::ShowSmallVideo(void)
{
}

ShowSmallVideo::~ShowSmallVideo(void)
{
}
BEGIN_MESSAGE_MAP(ShowSmallVideo, CWnd)
	ON_WM_CREATE()
	ON_WM_SIZE()
END_MESSAGE_MAP()

int ShowSmallVideo::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CWnd::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  Add your specialized creation code here

	return 0;
}

void ShowSmallVideo::OnSize(UINT nType, int cx, int cy)
{
	CWnd::OnSize(nType, cx, cy);

	// TODO: Add your message handler code here
}



void  ShowSmallVideo::SetWndParentForVideoPlayerManager2()
{
	
	CMultiMediaDlg::ShareInstance()->m_VideoMng2.SetWindowParent(this);
}
